Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
Discover gists
| ---@class InactiveRegionsModule | |
| ---@field config InactiveRegionsConfig | |
| ---@field ns integer Namespace ID for highlights | |
| ---@field _state InactiveRegionsState Internal state | |
| local InactiveRegions = {} | |
| ---@class InactiveRegionsConfig | |
| ---@field opacity number Opacity level for inactive regions (0.0-1.0) | |
| ---@field namespace string? Custom namespace name | |
| ---@field debounce_ms integer Debounce delay for updates in milliseconds |
| { | |
| "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
| "meta": { | |
| "theme": "elegant" | |
| }, | |
| "basics": { | |
| "name": "Giorgio Tedesco", | |
| "label": "a senior Full Stack Web Developer", | |
| "image": "https://2.gravatar.com/avatar/aed2318fee6a4e75384965f355ab896666bacfe3dcfc0eadee5786090133d038?size=256", | |
| "email": "gt@giorgiotedesco.it", |
To be frank, I don't know all the details about making your own custom Animation class. I know only a general idea, but the details are fuzzy. I usually end up using a trial-and-error approach trying different methods and reading the source code of similar animations, until it works. But the main idea is:
- An animation receives a
mobject(it can be a group) on which it will operate. In the__init__method usually it only stores that object intoself.mobject, so every animation has that object, and other animation attributes such as the run time, rate function, etc. - When used in a
.play(), manim will call itsbegin()method. Usually you don't need to override that. The default implementation creates another inner object calledself.starting_mobjectwhich stores the initial state of the mobject being animated, and it is simply a deep copy ofself.mobject(although you can override how that starting mobject is created by overriding `create_starting_mobj
| --- | |
| name: frontend-design | |
| description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics. | |
| license: Complete terms in LICENSE.txt | |
| --- | |
| This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices. | |
| The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints. |
| #!/usr/bin/python | |
| """ | |
| Produces a Linux Netfilter u32 rule to match DNS requests for a given | |
| domain name and/or a given query type. | |
| Typical usage: | |
| % python generate-netfilter-u32-rule.py --qname ripe.net --qtype ANY | |
| Can be embedded in iptables' invocations for instance: | |
| rule=$(python generate-rule.py args...) |
Figma是一款优秀的设计工具,不仅可以便捷地实现协作开发,同时还提供了丰富的扩展能力,使得我们可以通过编写插件实现自定义的功能。
Figma官方是有提供开发者文档的,资料也比较齐全。推荐同时读一下 https://www.figma.com/plugin-docs/intro/。
A Pen by Suraj kumar Sa on CodePen.
SIPS (Scriptable Image Processing System) is a command-line utility available on macOS that enables users to perform various image manipulation tasks directly from the command line. It supports a wide range of image file formats, including JPEG, PNG, TIFF, GIF, and more
- Scale an image (without aspect ratio):
sips -z width height input_image --out output_image - Scale an image (maintain aspect ratio):
sips -z 800 0 original.jpg --out scaled.jpg - Query image properties:
sips -g dpiHeight -g dpiWidth image.jpg
A comprehensive technical reference for understanding and reverse engineering Windows Sandbox, HCS APIs, and Hyper-V hypervisor internals.
┌─────────────────────────────────────────────────────────────────┐
│ USER MODE │
├─────────────────────────────────────────────────────────────────┤